
/* GLOBAL */

html, body {
	height:100%;
	width:100%;
}

div {
    word-wrap: break-word;
}

p {
	-webkit-margin-before: 10px;
	-webkit-margin-after: 10px;
}

body {
	background: #eeeeee url('../images/background.png');
	margin: 0;	
	font: 12px verdana;
	color: #333333;
}

input[type="text"], input[type="url"], input[type="email"], input[type="number"], input[type="email"], input[type="search"], input[type="password"], select, textarea {
	font: 12px verdana;
	color: #333333;
	margin: 0 0 7px 0;
	border: 1px solid #aaaaaa;
	height: 23px !important;
}

input[type="number"] {
	width: 80px;
	height: 19px;
	*height: 16px;
	height: 16px\9;
}

input:invalid {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

th, td {
	vertical-align: text-top;
}

textarea {
	font: 12px verdana;
	color: #333333;
	padding: 4px;
	resize:none;
	margin-bottom: 5px;
}

input::-webkit-input-placeholder{
    color: #aaaaaa;
}

input:-moz-placeholder {
    color: #aaaaaa;
}

.monospace {
    font-family: monospace !important;
    width: 80% !important;
}

.modal-wrapper {
	visibility: hidden;
	text-align: center;
	width: 100%;
	height: 100%;
	overflow:hidden;
	position: fixed;
	z-index: 2000000000;
	background: url(../images/modal-bg.png);
}

.modal-wrapper div {
	margin-top: 20%;
	position: relative;
	color: #ffffff;
}

.modal-wrapper div span {
	text-align: left;
	position: absolute;
	width: 100px;
	margin-top: 35px;
	margin-left: 155px;
	font-size: 11px;
}

img {
	border: 0;
}

::selection {
	background: #a8d1ff;
}

::-moz-selection {
	background: #a8d1ff;
}

.hidden{
	display: none;
}

a {
	color: #368159;
	text-decoration: none;
	cursor: pointer;
}

hr {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
    background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    margin-bottom: 10px;
}

button, input[type="button"], input[type="submit"] {
	border: 0;
	margin-top: -2px;
	margin-left: 2px;
	background: #368159;
	background: -webkit-gradient(linear, left top, left bottom, from(#54ab7b), to(#368159));
	background: -webkit-linear-gradient(top, #54ab7b, #368159);
	background: -moz-linear-gradient(top, #54ab7b, #368159);
	background: -ms-linear-gradient(top, #54ab7b, #368159);
	background: -o-linear-gradient(top, #54ab7b, #368159);
	padding: 5px 16px;
	font-size: 11px;
	color: white;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

button:hover, input[type="button"]:hover, input[type="submit"]:hover {
	background: #555;
}

button:active, input[type="button"]:active, input[type="submit"]:active {
	background: #333;
}

button[disabled], input[type="button"][disabled], input[type="submit"][disabled] {
	background: #dddddd;
	color: #aaaaaa;
	border: 1px solid #ccc;
	cursor: default;
}

.hr {
	margin-top: 3px;
	background: url(../images/hr-pattern.png);
	height: 10px;
}

.clear {
	clear: both;
}

/*  for non-IE browsers and IE8+ */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

/*the next two rules for IE6-7 must be separate and be in this order */
.clearfix {
	display: inline-block;
}

.clearfix {
 	display: block;
}

h1, h2, h3, h4 {
	margin: 0;
}

body.tinybox {
	background: #ffffff;
}

body.tinybox .wrapper {
	padding: 10px;
}

body.tinybox .wrapper img.preview-image{
	float: left;
	margin: 0 10px 10px 0;
	width: 100px;
	height: 100px;
}

body.tinybox div.note {
	margin: 5px 0 15px 0;
}

body.tinybox form.photo-upload {
}

body.tinybox form label {
	float: left;
	width: 150px;
	margin-right: 5px;
}

body.tinybox.no-float h3 {
	margin: 8px 0;
}

body.tinybox.no-float form label {
	float: none !important;
}

body.tinybox.no-float form div {
	margin-bottom: 2px;
}

body.tinybox.no-float form textarea {
	width: 300px;
}

body.tinybox form div {
	margin-bottom: 10px;
}

#account-panel {
	background: #ffffff;
	padding: 5px;
	position: absolute;
	width: 150px;
	right: -20px;
	top: 25px;
	border: 1px solid #999999;
	-moz-box-shadow: 0 1px 1px #aaa;
	-webkit-box-shadow: 0 1px 1px #aaa;
	box-shadow: 0 1px 1px #aaa;
}

#account-panel .tail {
	top: -16px;
	left: 100px;
	width: 29px;
	height: 16px;
	position: absolute;
}

#account-panel li {
	color: #333333;
	list-style-type: none;
	padding: 10px;
}

#account-panel li:hover {
	background: #dddddd;
}

/* PAGE BODY */

#main {
	float: left;
	width: 700px;
	min-height: 400px;
	padding: 20px 0 20px 20px;
}

#main-whole{
	float: left;
	width: 940px;
	min-height: 400px;
	padding: 20px 20px 20px 20px;
}

.container-wrapper {
	width: 980px;
	padding: 77px 10px 10px 10px;
	margin: auto;
	background: url(../images/wrapper-bg.png);
}

.container {
	-moz-box-shadow: 0 0 3px #333333;
	-webkit-box-shadow: 0 0 3px #333333;
	box-shadow: 0 0 3px #333333;
	padding-top: 3px;
	margin: auto;
	background: #ffffff;
}

/* HEADER */

#header {
	z-index: 650;
	position: fixed;
	left: 0;
	width: 100%;
	padding: 8px 0;
	font-size: 12px;
	-moz-box-shadow: 0 0 5px #000000;
	-webkit-box-shadow: 0 0 5px #000000;
	background: #333333 url(../images/header-bg.png) repeat-x;
}

#header-menu {
	z-index: 600;
	position: fixed;
	left: 0;
	top: 37px;
	width: 100%;
	font-size: 12px;
	background: #111111;
	color: #ffffff;
}

.header-content a {
	color: #fff;
	text-decoration: none;
}

#header #logo {
	float: left;
}

#sub-logo {
	top: 9px;
	left: 120px;
	display: none;
	position: absolute;
}

.header-content {
	width: 980px;
	margin: auto;
	position: relative;
}

#header-menu ul {
	float: left;
	padding: 0;
	margin: 0;
}

#header-menu ul li{
	position: relative;
	float: left;
	display: inline-block;
	padding: 12px 0px;
	margin-top: 3px;
	cursor: pointer;
}

#header-menu ul li a {
	padding: 12px 15px;
}

#header-menu ul li:hover {
	background: #368159;
}

#header-menu ul li.selected, #header-menu ul li.selected:hover {
	background: #ffffff url(../images/main-menu-selected.png);
	color: #333333;
}

#header-menu ul li.selected a, #header-menu ul li.selected a:hover {
	color: #333333;
}

#header-menu ul li ul {
	position: absolute;
	display: none;
	top: 39px;
	left: 0px;
}

#header-menu ul li ul li:hover {
	background: #447e80;
}

#header-menu ul li ul li {
	float: none;
	display: block;
	margin-top: 0px;
	background: #333333;
	font-size: 11px;
	min-width: 100px;
}

#header-menu ul li ul li {
	padding: 10px 15px;
}

#header-menu ul li ul a {
	padding: 0;
}

#user-box {
	cursor: pointer;
	position: relative;
	padding: 6px 20px 0 45px;
	float: right;
	height: 19px;
	background: url(../images/user-box-arrow.png) no-repeat right;
	outline: none;
}

#user-box img {
	position: absolute;
	top:  1px;
	left: 10px;
	height: 25px;
	width: 25px;
}


#search-box {
	float: right;
	position: relative;
}

#search-box #search-field {
	margin-top: 12px;
	width: 220px;
	padding: 2px 2px 2px 25px;
}

#search-box #magnifier-icon {
	width: 20px;
	height: 20px;
	top: 15px;
	left: 3px;
	position: absolute;
	background: url(../images/search.png) no-repeat;
}

.search-user-icon {
	float: left;
	width: 50px;
	height: 50px;
	margin: -2px 10px 0 -3px;
}

.search-user-name {
	font-size: 12px;
	color: #447e80;
}

.search-user-details {
	font-size: 10px;
	color: #999;
}

.search-result {
	padding: 5px;
}

/* FOOTER */

#footer {
	padding: 20px 0 60px 0;
	text-align: center;
}

#footer a {
	padding: 0 5px;
}

.footer-container {
	width: 500px;
	margin: 0 auto;
	position: relative;
}



/* SIDEBAR */

#sidebar {
	float: right;
	width: 260px;
}

/* SEARCH PANEL */
.search-panel {
	padding: 10px 15px;
	border: 1px solid #cccccc;
	background: #fafafa;
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#eeeeee));
	background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); 
	background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
	background-image: -ms-linear-gradient(top, #ffffff, #eeeeee);
	background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
	margin: 10px 0;
}

.search-panel h2 {
	padding: 0 0 5px 24px;
	background: url(../images/search.png) no-repeat;	
	font-size: 14px;
	color: #6a7f80;
}

.error-box, .errorBox, .error-box li {
    color: #FFFFFF !important;
}

.error-box, .errorBox {
	font-weight: normal !important;
    font-size: 12px !important;
    padding: 8px 10px !important;
    margin-bottom: 10px !important;
    background: #d54421 !important;
    color: #ffffff !important;
}

.error-box span, ul{
	/*display: table;*/
}

radiobutton.highlight-error, 
checkbox.highlight-error, 
input.highlight-error, 
select.highlight-error, 
textarea.highlight-error {
	border: 1px solid #d54421;
}

label.highlight-error {
	width: 150px;
	float: left;
	padding: 5px;
	color: #d54421;
}

.success-message {
	padding: 5px 10px;
	background: #2fb76f;
	color: #ffffff;
	margin-bottom: 10px;
}

/* form required class */
.required {
	color: #d54421;
	font-weight: bold; 
	font-size: 16px;
	margin-left: 2px;
	position: absolute;
}

.wysiwyg-holder {
	width: 700px;
}

/* STYLED FORM */

.styled-form label {
	float: left;
	width: 150px;
}

.styled-form input, .styled-form select {
	width: 300px;
}

.styled-form input[type=button], .styled-form input[type=submit], .styled-form button {
	margin-top: 10px;
	width: initial;
}

.styled-form input[type=file] {
	margin-bottom: 10px;
}

.styled-form textarea {
	width: 300px;
	height: 70px;
}

.tinybox .admin-new-field input[type="text"] {
	margin: 0;
	height: 25px;
}
.tinybox .admin-label, label.highlight-error {
	width: 130px !important;
}
.tinybox .transfer-button {
	width: 45px;
}
.tinybox .side-note {
	margin: 5px 0;
}


/*IRIS*/

div.header1{
	font-size: 18px;
	font-weight: bold;
}

div.header2{
	font-size: 15px;
	font-weight: bold;
}

div.header3{
	font-size: 13px;
	font-weight: bold;
}

div.page-title{
	float: left;
}

div.page-options{
	float: right;
	font-size: 14px;
}


.float-right {
	float: right;
}

.float-left {
	float: left;
}

.file-delete-button {
	margin-right: 200px;
}